{{ $features := site.Params.features }}
<section class="section has-extra-padding">
  <div class="container has-text-centered">
    <p class="title is-size-1 is-size-2-mobile has-text-primary has-text-weight-medium">
      Why gRPC?
    </p>
    <p class="content is-large has-text-weight-light">
      gRPC is a modern open source high performance RPC framework that can run
      in any environment. It can efficiently connect services in and across data
      centers with pluggable support for load balancing, tracing, health
      checking and authentication. It is also applicable in last mile of
      distributed computing to connect devices, mobile applications and browsers
      to backend services.
    </p>
  </div>
</section>

<section class="section has-background-white-bis has-extra-padding">
  <div class="container">
    <div class="columns is-vcentered is-multiline is-variable is-8">
      {{ range $features }}
      {{ $icon  := printf "img/icons/%s" .icon | relURL }}
      {{ $title := .title }}
      {{ $desc  := .description | markdownify }}
      <div class="column is-half is-feature-pane">
        <div class="columns is-variable is-8">
          <div class="column is-one-third">
            <img class="is-feature-icon" src="{{ $icon }}" alt="{{ $title }} feature icon">
          </div>

          <div class="column">
            <p class="title is-size-3 is-size-4-mobile has-text-primary has-text-weight-light is-spaced">
              {{ $title }}
            </p>
            <p class="subtitle">
              {{ $desc }}
            </p>
          </div>
        </div>
      </div>
      {{ end }}
    </div>
  </div>
</section>